package com.star.bookstore.information.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author wuLiFei
 * @email wuLiFei@gmail.com
 * @date 2021-03-07 13:57:20
 */
@Data
@TableName("ims_news")
public class NewsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 消息id
	 */
	@TableId
	private Long newsId;
	/**
	 * 发送者id
	 */
	private Long sendId;
	/**
	 * 发送的消息
	 */
	private String sendMseeage;
	/**
	 * 接收者id
	 */
	private Long collectId;
	/**
	 * 创建时间（20天后清除记录）
	 */
	private Date createTime;

}
